import { createRouter, createWebHistory } from 'vue-router'
import routes from './router'

// 导出路由
const router = createRouter({
  history: createWebHistory(), //开启history模式
  routes,
})

export default router
